/*
 * Part of the ACID Project
 * Developed in 2011 by Morgan Taschuk
 */
package acid.spring.db;

/**
 *
 * @author morgan
 */
public class ExperimentAnalysis implements java.io.Serializable
{

    private int analysis_id;
    private String ctl_population;
    private String exp_population;
    private String analysis_method;
    private Experiment experiment;

    public ExperimentAnalysis(int analysis_id, Experiment experiment,
            String ctl_population, String exp_population, String analysis_method)
    {
        this.analysis_id = analysis_id;
        this.ctl_population = ctl_population;
        this.exp_population = exp_population;
        this.analysis_method = analysis_method;
        this.experiment = experiment;
    }



    /**
     * Get the value of experiment
     *
     * @return the value of experiment
     */
    public Experiment getExperiment()
    {
        return experiment;
    }

    /**
     * Set the value of experiment
     *
     * @param experiment new value of experiment
     */
    public void setExperiment(Experiment experiment)
    {
        this.experiment = experiment;
    }
   
  
    /**
     * Get the value of exp_population
     *
     * @return the value of exp_population
     */
    public String getExp_population()
    {
        return exp_population;
    }

    /**
     * Set the value of exp_population
     *
     * @param exp_population new value of exp_population
     */
    public void setExp_population(String exp_population)
    {
        this.exp_population = exp_population;
    }

    /**
     * Get the value of analysis_method
     *
     * @return the value of analysis_method
     */
    public String getAnalysis_method()
    {
        return analysis_method;
    }

    /**
     * Set the value of analysis_method
     *
     * @param analysis_method new value of analysis_method
     */
    public void setAnalysis_method(String analysis_method)
    {
        this.analysis_method = analysis_method;
    }

    /**
     * Get the value of ctl_population
     *
     * @return the value of ctl_population
     */
    public String getCtl_population()
    {
        return ctl_population;
    }

    /**
     * Set the value of ctl_population
     *
     * @param ctl_population new value of ctl_population
     */
    public void setCtl_population(String ctl_population)
    {
        this.ctl_population = ctl_population;
    }

   
    /**
     * Get the value of analysis_id
     *
     * @return the value of analysis_id
     */
    public int getAnalysis_id()
    {
        return analysis_id;
    }

    /**
     * Set the value of analysis_id
     *
     * @param analysis_id new value of analysis_id
     */
    public void setAnalysis_id(int analysis_id)
    {
        this.analysis_id = analysis_id;
    }

    @Override
    public String toString()
    {
        return ctl_population + " vs " + exp_population + ", " + analysis_method;
    }


}
